
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>Money</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="Money.css">
</head>
<body>
    <div class="main markdown">
        <h1>Money 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon Money icon-get"></i>
                    <div class="name">收入</div>
                    <div class="fontclass">.icon-get</div>
                </li>
            
                <li>
                <i class="icon Money icon-zhifubao"></i>
                    <div class="name">支付宝</div>
                    <div class="fontclass">.icon-zhifubao</div>
                </li>
            
                <li>
                <i class="icon Money icon-yinxingqia"></i>
                    <div class="name">银行卡</div>
                    <div class="fontclass">.icon-yinxingqia</div>
                </li>
            
                <li>
                <i class="icon Money icon-gouwuche"></i>
                    <div class="name">购物车</div>
                    <div class="fontclass">.icon-gouwuche</div>
                </li>
            
                <li>
                <i class="icon Money icon-rmb"></i>
                    <div class="name">人民币</div>
                    <div class="fontclass">.icon-rmb</div>
                </li>
            
                <li>
                <i class="icon Money icon-chaxunyue"></i>
                    <div class="name">查询余额</div>
                    <div class="fontclass">.icon-chaxunyue</div>
                </li>
            
                <li>
                <i class="icon Money icon-xianjin"></i>
                    <div class="name">现金</div>
                    <div class="fontclass">.icon-xianjin</div>
                </li>
            
                <li>
                <i class="icon Money icon-xunzhao02"></i>
                    <div class="name">支付－微信</div>
                    <div class="fontclass">.icon-xunzhao02</div>
                </li>
            
                <li>
                <i class="icon Money icon-renminbi"></i>
                    <div class="name">人民币</div>
                    <div class="fontclass">.icon-renminbi</div>
                </li>
            
                <li>
                <i class="icon Money icon-zhichu"></i>
                    <div class="name">支出</div>
                    <div class="fontclass">.icon-zhichu</div>
                </li>
            
                <li>
                <i class="icon Money icon-handcoins"></i>
                    <div class="name">支出</div>
                    <div class="fontclass">.icon-handcoins</div>
                </li>
            
                <li>
                <i class="icon Money icon-icon1460188752552"></i>
                    <div class="name">钱包</div>
                    <div class="fontclass">.icon-icon1460188752552</div>
                </li>
            
                <li>
                <i class="icon Money icon-icon14"></i>
                    <div class="name">美元</div>
                    <div class="fontclass">.icon-icon14</div>
                </li>
            
                <li>
                <i class="icon Money icon-chongzhi"></i>
                    <div class="name">充值</div>
                    <div class="fontclass">.icon-chongzhi</div>
                </li>
            
                <li>
                <i class="icon Money icon-zhangdan"></i>
                    <div class="name">账单</div>
                    <div class="fontclass">.icon-zhangdan</div>
                </li>
            
                <li>
                <i class="icon Money icon-zhuanzhang"></i>
                    <div class="name">转账</div>
                    <div class="fontclass">.icon-zhuanzhang</div>
                </li>
            
                <li>
                <i class="icon Money icon-yue"></i>
                    <div class="name">余额</div>
                    <div class="fontclass">.icon-yue</div>
                </li>
            
                <li>
                <i class="icon Money icon-yinxing"></i>
                    <div class="name">银行</div>
                    <div class="fontclass">.icon-yinxing</div>
                </li>
            
                <li>
                <i class="icon Money icon-dujiayuniconzhenggao-22"></i>
                    <div class="name">预存款</div>
                    <div class="fontclass">.icon-dujiayuniconzhenggao-22</div>
                </li>
            
                <li>
                <i class="icon Money icon-tixian"></i>
                    <div class="name">提现</div>
                    <div class="fontclass">.icon-tixian</div>
                </li>
            
                <li>
                <i class="icon Money icon-cuxiao"></i>
                    <div class="name">促销</div>
                    <div class="fontclass">.icon-cuxiao</div>
                </li>
            
                <li>
                <i class="icon Money icon-yue1"></i>
                    <div class="name">余额</div>
                    <div class="fontclass">.icon-yue1</div>
                </li>
            
        </ul>

        <h2 id="font-class-">font-class引用</h2>
        <hr>

        <p>font-class是unicode使用方式的一种变种，主要是解决unicode书写不直观，语意不明确的问题。</p>
        <p>与unicode使用方式相比，具有如下特点：</p>
        <ul>
        <li>兼容性良好，支持ie8+，及所有现代浏览器。</li>
        <li>相比于unicode语意明确，书写更直观。可以很容易分辨这个icon是什么。</li>
        <li>因为使用class来定义图标，所以当要替换图标时，只需要修改class里面的unicode引用。</li>
        <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的fontclass代码：</h3>


        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./Money.css"&gt;</span></code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-css hljs">&lt;<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">Money</span> <span class="hljs-selector-tag">icon-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
        <blockquote>
        <p>"Money"是你项目下的font-family。可以通过编辑项目查看，默认是"Money"。</p>
        </blockquote>
    </div>
</body>
</html>
